@import url(./animista.css);

* {
  box-sizing: border-box;
}

@nav-size-height: 60px;
@layout-max-width: 1100px;

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  background-color: var(--color-bg-1);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 12px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-text-4);
  background-clip: padding-box;
  border: 4px solid transparent;
  border-radius: 7px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-text-3);
}

/* fade 模式 name="fade" mode="out-in" */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

a {
  text-decoration: none;
}

.router-link-active {
  text-decoration: none;
}

.k-request-query {
  color: #61affe;
}

.k-request-body {
  color: #0d5aa7;
}

.k-request-formData {
  color: #9012fe;
}

.k-request-form {
  color: #9012fe;
}

.k-request-validate-jsr {
  color: #10af88;
  border-bottom: 1px dashed #10af88;
}

.k-request-header {
  color: #fca130;
}

.k-request-path {
  color: #49cc90;
}

/**
  api method color
  GET: '#10aec2',
  POST: '#f26b1f',
  PUT: '#ee3f4d',
  DELETE: '#de1c31',
  PATCH: '#ed2f6a',
  OPTIONS: '#0F95B0',
  TRACE: '#51C4D3',
  HEAD: '#fca106',
  CONNECT: '#20A162'
*/
.k-api {
  font-weight: bold;
  &-get {
    color: #10aec2;
  }
  &-post {
    color: #f26b1f;
  }
  &-put {
    color: #ee3f4d;
  }
  &-delete {
    color: #de1c31;
  }
  &-patch {
    color: #ed2f6a;
  }
  &-options {
    color: #0f95b0;
  }
  &-trace {
    color: #51c4d3;
  }
  &-head {
    color: #fca106;
  }
  &-connect {
    color: #20a162;
  }
}
